/*
 * 文件名: MenuItem.java
 * 版    权：  Copyright PingAn Technology All Rights Reserved.
 * 描    述: [该类的简要描述]
 * 创建人: EX-XIAOFANQING001
 * 创建时间: 2012-1-16
 * 
 * 修改人：
 * 修改时间:
 * 修改内容：[修改内容]
 */
package com.longevityassistant.menu;

import android.view.View;

/**
 * 公共菜单的菜单项
 * @author EX-XIAOFANQING001
 * @date 2012-1-16
 * @version [Android PABank C01, @2012-1-16]
 * @description
 */
public class MenuItem {
    
    private String title;
    
    private int icon;
    
    private View.OnClickListener mOnMenuClickListener;
    
    public MenuItem() {
        
    }
    
    public MenuItem(String title, int iconRes, View.OnClickListener listener) {
        this.title = title;
        this.icon = iconRes;
        this.mOnMenuClickListener = listener;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public int getIcon()
    {
        return icon;
    }

    public void setIcon(int icon)
    {
        this.icon = icon;
    }

    public View.OnClickListener getmOnMenuClickListener()
    {
        return mOnMenuClickListener;
    }

    public void setOnMenuClickListener(View.OnClickListener mOnMenuClickListener)
    {
        this.mOnMenuClickListener = mOnMenuClickListener;
    }
}
